﻿@model  ModalidadVista           
@{
    ViewBag.Title = "Instituciones";
    ViewBag.SubMenuSelected = "Modalidad";
    Layout = "~/Views/Shared/_MasterSGC.cshtml";
}
@section Scripts{
    @Content.Script("CbaGob.Alumnos.Modalidad.js", Url)
}
<div class="box">
    <h2>
        Eliminar Modalidad</h2>
    <table align="center" style="width: 700px;">
        <tr>
            <td class="style1" style="font-weight: bold">
                <div id="titulo">
                </div>
                @using (Html.BeginForm("Eliminar_Modalidad", "Modalidad", FormMethod.Post, new { Id = "FormularioModalidad" }))
                { 
                    @Html.ValidationSummary(true)
                    <br />
                    <table align="center" id="mytable" style="font-family: Arial, Helvetica, sans-serif;
                        font-size: 12px; width: 700px;">
                        <tr>
                            <td>
                                <fieldset style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; width: 690px;">
                                    <legend>Datos del la Modalidad</legend>
                                    <table align="left" style="font-family: Arial, Helvetica, sans-serif; font-size: 12px;
                                        width: 690px;">
                                        <tr>
                                            <td align="left">
                                                <b>Nombre de la Modalidad:</b>
                                            </td>
                                            <td align="left">
                                                @Html.TextBoxFor(c => c.NombreModalidad, new { style = "width:250px;", MaxLength = "64", disabled = "disabled" })
                                                @Html.ValidationMessageFor(m => m.NombreModalidad, "*")
                                            </td>
                                        </tr>
                                        <tr>
                                            <td align="left">
                                                <b>Nro Resolución:</b>
                                            </td>
                                            <td align="left">
                                                @Html.TextBoxFor(c => c.Nro_Resolucion, new { style = "width:250px;", MaxLength = "64" })
                                                @Html.ValidationMessageFor(m => m.Nro_Resolucion, "*")
                                            </td>
                                        </tr>
                                    </table>
                                </fieldset>
                            </td>
                        </tr>
                    </table>
                    @Html.HiddenFor(c => c.IdModalidad)
    
                    <table id="btnfin" align="center" width="690px">
                        <tr>
                            <td align="right" valign="middle">
                                <input id="Eliminar" type="button" value="Eliminar" class="btnIngresar" />
                                @Html.ActionLink("Cancelar", "Index", "Modalidad", null, new { Class = "btnIngresar" })
                            </td>
                        </tr>
                    </table>

                }
            </td>
        </tr>
    </table>
</div>
<div id="dialog" title="Eliminar">
    <p>
        Esta Seguro de Eliminar?</p>
</div>
